let data = [{
    date: 18,
    name: '李四',
    address: '上海'
  }, {
    date: 15,
    name: '张三',
    address: '北京'
  }, {
    date: 21,
    name: '王五',
    address: '天津'
  }, {
    date: 28,
    name: '赵六',
    address: '哈尔滨'
  }]

module.exports = {
    devServer: {
        before(app) {
            app.get('/api/getList', (req, res) => {
                res.send(data)
            })
        }
    }
}